@layout("/common/_container.html"){
<script>
    var all = 0;
</script>
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>配送款项修改</h5>
            </div>
        </div>
        <div class="row">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 100px;text-align: left">配送员：</label>
                    <div class="layui-input-inline" style="width: 150px;">
                        <input type="text" name="driver_name" id="driver_name" placeholder="" autocomplete="off"
                               class="layui-input" value="${item.driverName}" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 100px;">联系电话：</label>
                    <div class="layui-input-inline" style="width: 180px;">
                        <input type="text" name="phone" id="phone" placeholder="" autocomplete="off"
                               class="layui-input" value="${item.phone}" readonly>
                    </div>
                    <label class="layui-form-label" style="width: 100px;">车牌号码</label>
                    <div class="layui-input-inline" style="width: 180px;" >
                        <input type="text" name="carNo" id="carNo" placeholder="车牌号" autocomplete="off"
                               class="layui-input" style="width: 100px;" value="${item.carNo}" readonly>
                    </div>
                </div>

            </div>
        </div>
        <div class="row">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label" style="width: 100px;text-align: left">车费：</label>
                    <div class="layui-input-inline" style="width: 150px;">
                        <input type="number" name="cf" id="cf" placeholder=""  autocomplete="off" class="layui-input" onkeyup="cfSum(this.value)">
                    </div>
                </div>
            </div>
        </div>
        <input type="hidden" value="${ids}" id="ids">
        <table id="REITable" class="layui-table" lay-filter="REITable"></table>

        <div class="form-horizontal" id="dotInfoForm">

            <div class="row">

            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    @if(item.status==2){
                        <#button btnCss="info" name="提交保存" id="ensure" icon="fa-check" clickFun="TOrderFee.editSubmit()"/>
                    @}
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="TOrderFee.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<style>
    table {
        table-layout: fixed;
        word-wrap: break-word;
    }

    .mtd td {
        height: 30px;
        border: #CCCCCC 1px solid;
        text-align: center
    }

    table input {
        border: none;
        height: 100%;
        background-color: transparent;

    }

    table select {
        border: none;
        height: 100%;
        background-color: transparent;
    }
</style>
<script type="text/html" id="checkboxTpl">
    <!-- 这里的 checked 的状态只是演示 -->
    <input type="checkbox" name="isEdit" value="{{d.id}}" lay-skin="switch" lay-text="成功|失败" lay-filter="isEdit"  {{ d.isfail == 1 ? 'checked' : '' }}>
</script>
<script src="${ctxPath}/static/modular/system/tOrder/dis/distributionRef.js"></script>
@}
